package com.ms.education.ucenter.service.feign;

import com.ms.education.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>Project:education-OssFeignService
 * <p>Powered by ms on 2023-02-18 04:32:29
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@Component
@FeignClient(value = "service-oss")
public interface OssFeignService {

    @PostMapping(value = "/oss/uploadPhoto",consumes = "multipart/form-data")
    public R uploadPhoto(MultipartFile file);
}
